//
//  ZJRoomModel.h
//  这家测试项目
//
//  Created by IOS_DEVELOPER on 2017/6/12.
//  Copyright © 2017年 陈志凌. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ZJRoomModel : NSObject
@property (strong ,nonatomic) NSString * house_name; ///房间号
@property (strong, nonatomic) NSString * pic_url; /// 户型图路径
@property (strong, nonatomic) NSString * layout; /// 房型
@property (strong, nonatomic) NSString * house_area; /// 建面
@property (strong, nonatomic) NSString * actual_area; /// 套内面积
@property (strong, nonatomic) NSString * love_count; /// 关注数量
@property (strong, nonatomic) NSString * model_name; /// 区域号
@property (strong, nonatomic) NSString * house_id; /// 户型id
/*
 房间名称
 */
@property (strong, nonatomic)NSString * house;
/*
 面积上下限
 */
@property (strong, nonatomic)NSString * house_area_circle;
/*
 区
 */
@property (strong, nonatomic)NSString * partition_name;
/*
 栋
 */
@property (strong, nonatomic)NSString * building_name;
@property (strong, nonatomic)NSString * building_unit;
/*
 单位
 */
@property (strong, nonatomic)NSString * unit_unit;
/*
 朝向
 */
@property (strong, nonatomic)NSString * orientation_pic;
/*
 单元号
 */
@property (strong, nonatomic)NSString * unit_name;
/*
 楼层
 */
@property (strong, nonatomic)NSString * ceiling_name;
/*
 图片比例
 */
@property (strong, nonatomic)NSString * pic_ratio;
/*
 房子朝向
 */
@property (strong, nonatomic)NSString * house_orientation;
/*
 阳台朝向
 */
@property (strong, nonatomic)NSString * balcony_orientation;
/*
 状态
 */
@property (strong, nonatomic)NSString * status;
// 临时字段
@property (nonatomic, strong) NSNumber *tempnumber;
/**
 *  获取单个添加单个户型个数
 *  roomID:户型id
 */
+ (NSInteger)numberWithRoomID:(NSString *)roomID;
/**
 *  添加户型到抢房条
 *  roomdModel:户型对象
 */
+ (NSInteger)addRoomWithRoomModel:(ZJRoomModel *)roomModel;
/**
 *  获取抢购户型所有数据
 */
+ (NSMutableArray<ZJRoomModel *> *)rooms;
/**
 *  删除指定户型
 *  roomModels:商品对象数组
 */
+ (BOOL)removeRoomModel:(NSArray<ZJRoomModel *> *)roomModels;
@end
